
<div class="col-sm-12 mt20">
    
    <div class="panel panel-default">
      <div class="panel-body">
       
        
          <div class="col-sm-10">
             
          </div>
          <div class="col-sm-2">
              <button class="btn btn-info search btn-block" ng-click="save(1)">创建</button>
          </div>
       
      </div>
  
      <div class="panel-body">
        <table class="table table-striped table-bordered dataTable table-condensed tree_table" style="table-layout:fixed">
          <thead>
            <tr>
              <th class="text-center col-sm-3">标题</th>
              <th class="text-center col-sm-2">消息类型</th>
              <th class="text-center col-sm-2">创建时间</th>
              <th class="text-center col-sm-1">操作</th>
            </tr>
          </thead>
          <tbody>
            <tr ng-repeat="info in list">
              <td class="text-center">{{info.title}}</td>
              <td class="text-center">{{info.msgTypeName}}</td>
              <td class="text-center">{{info.create_time}}</td>
              <td class="text-center">
                <button type="button" class="btn btn-info btn-xs" ng-click="send(info)" ng-if="info.send_state == 0">发送</button>
      
                <button type="button" class="btn btn-info btn-xs" ng-click="gatInfo(info)">查看</button>
               
              </td>
            </tr>
          </tbody>
        </table>
      </div>
  
      <div class="text-right" style="background-color: white; margin-right: 30px">
        <pagination total-items="totalItems" ng-model="currentPage" ng-change="search(currentPage)" previous-text="上一页"
          next-text="下一页" first-text="首页" last-text="尾页" max-size="5" boundary-links="true" rotate="false"
          items-per-page="itemsPerPage" class="m-t-none m-b"></pagination>
      </div>
  
    </div>
  </div>